import {createApp} from "vue";
import App from "./App.vue";
import {router} from "@/router/index";
import axios from "axios";
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import zhCn from "element-plus/es/locale/lang/zh-cn";

const app = createApp(App);
app.use(ElementPlus, {
    locale: zhCn,
});
app.use(router);
app.use(axios);
app.mount("#app");
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
